var auth = {
  getData: function () {
    var _data;
    if (!config.reg.test(location.host)) {
      $.ajax({
        type: "get",
        async: false,
        url: page.urls.domain + "/datajsp/au_PlayFilmData.jsp?mediaCode=" + config.mediaCode,
        xhrFields: {
          withCredentials: true
        },
        crossDomain: true,
        success: function (data) {
          _data = eval("(" + data + ")");
        }
      })
      page.productList = _data.productObject.productList
      page.isSub = _data.forwardJson.isSub
      page.forwardUrl = _data.forwardJson.forwardUrl
    }
  },
  order: function () {
    var forwardUrl = page.forwardUrl
    window.parent.location.href= page.urls.domain + '?spVodPlayUrl=' + encodeURIComponent(forwardUrl)
  }
}